Standard Number Structure
The standard numbering structure, of data typeStandardNumberRec
, defines how to output numbers. The raster package controls structure contains two of these structures.
struct gxStandardNumberRec { short numberType; short minWidth; char padChar; char alignment; Str31 startString; Str31 endString; }; typedef struct gxStandardNumberRec gxStandardNumberRec, *gxStandardNumberPtr;
Field Description
numberType
- The type of numeric output to be used. This is one of the types shown in Table 6-33 on page 6-76.
minWidth
- If you are using the
RasterNumToASCII
number type, this is the minimum number of characters in the output number string. If you are using theRasterNumDirect
number type, this is the minimum number of bytes in the output number string.padChar
- The character used to pad (in front) numbers that are shorter than the minimum width value.
alignment
- A single byte used for alignment of data in this structure.
startString
- The string sent in front of the number string.
endString
- The string sent after the number string.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help